<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>员工信息</h1>
    <table>
        <tr>
            <th>序号</th>
            <th>员工编号</th>
            <th>员工姓名</th>
            <th>员工部门</th>
            <th>操作</th>
        </tr>
        <tr th:each="e:${emps}">
            <td th:text="${eStat.index+1}"></td>
            <td th:text="${e.employeeNo}"></td>
            <td th:text="${e.employeeName}"></td>
            <td th:text="${e.department.departName}">
            <td>
                <a th:href="@{'/employee/show_employee/'+${e.id}}">查看详情</a>
                <a th:href="@{'/employee/update_employee/'+${e.id}}">修改信息</a>
                <a th:href="@{'/employee/del_emp/'+${e.id}}">删除信息</a>
            </td>
        </tr>

    </table>
</body>
</html>